package com.danciyixue.boot.dcyx.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 用户每日时间记录视图对象
 *
 * @author youlaitech
 * @since 2025-06-28 10:26
 */
@Getter
@Setter
@Schema( description = "用户每日时间记录视图对象")
public class DailyTimeRecordsVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "时间记录ID")
    private Long id;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "日期")
    private LocalDateTime recordDate;
    @Schema(description = "在线时间")
    private LocalDateTime onlineTime;
    @Schema(description = "有效时间")
    private LocalDateTime effectiveTime;
    @Schema(description = "有效占比")
    private String efficiency;
    @Schema(description = "在线时间秒数")
    private Integer onlineSeconds;
    @Schema(description = "有效时间秒数")
    private Integer effectiveSeconds;
}
